//
//  PopUpView.m
//  jinritoutiao
//
//  Created by 汤环 on 2025/10/14.
//

#import "PopUpView.h"
#import <Masonry/Masonry.h>

@interface PopUpView()
@property(nonatomic,strong) UILabel *promptLable;

@end

@implementation PopUpView


-(instancetype)init{
    self = [super init];
    if(self){
        [self setUI];
        [self configUI];
    }
    
    return self;
}

-(void)setUI{
    [self addSubview:self.promptLable];
}

-(void)configUI{
    [self.promptLable mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(self.mas_centerX);
        make.centerY.equalTo(self.mas_centerY);
    }];
}
#pragma mark -- getter
-(UILabel*)promptLable{
    if(!_promptLable){
        _promptLable = [[UILabel alloc]init];
        _promptLable.text = @"温馨提示";
        
    }
    
    return  _promptLable;
}

@end
